home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 January / PCWorld_2007-01_cd.bin / v cisle / autoit / autoit-v3.2.0.1-setup.exe / Examples / Helpfile / GUISetState.au3 < prev    next >
Text File  |  2006-06-17  |  285b  |  14 lines

  1. #include <GUIConstants.au3>
  2.  
  3. GUICreate ("My GUI")                 ; start the definition
  4.  
  5. GUISetState ()                         ; will display an empty dialog box
  6.  
  7. ; Run the GUI until the dialog is closed
  8. While 1
  9.     $msg = GUIGetMsg()
  10.     
  11.     If $msg = $GUI_EVENT_CLOSE Then ExitLoop
  12. Wend
  13.  
  14.